{% extends "base_generic.html" %}
{% block content %}
<div class="container">
  <div class="card" style="max-width: 500px; margin: 40px auto;">
    <h2 style="text-align:center;">确认删除作者</h2>
    <p style="text-align:center;">你确定要删除 <b>{{ author.last_name }}{{ author.first_name }}</b> 吗？</p>
    <form method="post" style="text-align:center;">
      {% csrf_token %}
      <button type="submit" class="btn btn-danger">确认删除</button>
      <a href="{% url 'author-detail' author.pk %}" class="btn">取消</a>
    </form>
  </div>
</div>
{% endblock %}
